/*
 * NumericalUtilities.h
 *
 *  Created on: 7 Apr 2011
 *      Author: al2010
 */

#ifndef NUMERICALUTILITIES_H_
#define NUMERICALUTILITIES_H_

// C++ includes
#include <functional>
#include <vector>
using namespace std;

const double LagrangeInterpolation(const double& x, const double* xi, const double* yi, const unsigned npoints);

const double NumericalDerivative(const double (*f)(double), double x, double epsilon);

const double InnerProduct(const vector<double>& u, const vector<double>& v);

#endif /* NUMERICALUTILITIES_H_ */
